
package webservices.framework.affilinet.types.productservice;

import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for CategoryResult complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="CategoryResult">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="Categories" type="{http://affilinet.framework.webservices/types/ProductService}ArrayOfCategory" minOccurs="0"/>
 *         &lt;element name="Records" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
 *         &lt;element name="ProgramId" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
 *         &lt;element name="ProgramTitle" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CategoryResult", propOrder = {
    "categories",
    "records",
    "programId",
    "programTitle"
})
public class CategoryResult {

    @XmlElementRef(name = "Categories", namespace = "http://affilinet.framework.webservices/types/ProductService", type = JAXBElement.class)
    protected JAXBElement<ArrayOfCategory> categories;
    @XmlElement(name = "Records")
    protected Integer records;
    @XmlElement(name = "ProgramId")
    protected Integer programId;
    @XmlElementRef(name = "ProgramTitle", namespace = "http://affilinet.framework.webservices/types/ProductService", type = JAXBElement.class)
    protected JAXBElement<String> programTitle;

    /**
     * Gets the value of the categories property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link ArrayOfCategory }{@code >}
     *     
     */
    public JAXBElement<ArrayOfCategory> getCategories() {
        return categories;
    }

    /**
     * Sets the value of the categories property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link ArrayOfCategory }{@code >}
     *     
     */
    public void setCategories(JAXBElement<ArrayOfCategory> value) {
        this.categories = ((JAXBElement<ArrayOfCategory> ) value);
    }

    /**
     * Gets the value of the records property.
     * 
     * @return
     *     possible object is
     *     {@link Integer }
     *     
     */
    public Integer getRecords() {
        return records;
    }

    /**
     * Sets the value of the records property.
     * 
     * @param value
     *     allowed object is
     *     {@link Integer }
     *     
     */
    public void setRecords(Integer value) {
        this.records = value;
    }

    /**
     * Gets the value of the programId property.
     * 
     * @return
     *     possible object is
     *     {@link Integer }
     *     
     */
    public Integer getProgramId() {
        return programId;
    }

    /**
     * Sets the value of the programId property.
     * 
     * @param value
     *     allowed object is
     *     {@link Integer }
     *     
     */
    public void setProgramId(Integer value) {
        this.programId = value;
    }

    /**
     * Gets the value of the programTitle property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public JAXBElement<String> getProgramTitle() {
        return programTitle;
    }

    /**
     * Sets the value of the programTitle property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public void setProgramTitle(JAXBElement<String> value) {
        this.programTitle = ((JAXBElement<String> ) value);
    }

}
